package com.coldchain.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum  AddressTypeEnum  implements IEnum<Integer> {
    PLACEOFRECEIPT(1,"取货点"),
    DISTRIBUTION(2,"配送点");

    AddressTypeEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    private int type;
    private String desc;

    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return this.type;
    }
}
